import request from '@/utils/request'

export function add(data) {
  return request({
    url: 'api/feePayBank/addOrSave',
    method: 'post',
    data
  })
}

export function del(ids) {
  return request({
    url: 'api/feePayBank/',
    method: 'delete',
    data: ids
  })
}

export function edit(data) {
  return request({
    url: 'api/feePayBank/addOrSave',
    method: 'post',
    data
  })
}

export function exportDe(data) {
  return request({
    url: 'api/feePayBank/export',
    method: 'post',
    data
  })
}

export function importDe(data) {
  return request({
    url: 'api/feePayBank/import',
    method: 'post',
    data
  })
}

export function getFeeOrderDrawSheet(params) {
  return request({
    url: 'api/feeOrder/getFeeOrderDrawSheet',
    method: 'get',
    params
  })
}

export default {add, edit, exportDe, importDe, del, getFeeOrderDrawSheet}
